package com.shop.service;

import com.shop.entity.PmsCategory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 分类表 服务类
 * </p>
 *
 * @author lpx610
 * @since 2023-11-03
 */
public interface PmsCategoryService extends IService<PmsCategory> {
    List<PmsCategory> getAll();
    Boolean add(String name, String parentId, Integer level);
    Boolean update(String id, String name);
    Boolean delete(String id, Boolean active);
}
